Skip to content

docs: document searchByEmbedding Local API method#69

Merged
techiejd merged 1 commit into
mainfrom
docs/search-by-embedding-api
Jun 22, 2026
Merged

docs: document searchByEmbedding Local API method#69
techiejd merged 1 commit into
mainfrom
docs/search-by-embedding-api

Conversation

@techiejd

Copy link
Copy Markdown
Owner

What

Documents the searchByEmbedding Local API method added in #68, and removes a now-redundant inline comment.

  • README: new vectorizedPayload.searchByEmbedding(params) section — params, return shape, the no-reranking behavior (rerankers need the original query text, unavailable from a raw vector), and the findByIds({ populateEmbedding: true })searchByEmbedding() "more like this" flow. Added the method to the Local API methods list and updated the findByIds inline example comment to point at searchByEmbedding().
  • src/endpoints/vectorSearch.ts: dropped the inline comment explaining the no-rerank behavior now that it's documented in the README.

Not included

No changeset — intentionally held back so it can ship in a follow-up PR alongside other pending changes.

Docs/comment only; no behavior change.

Add a vectorizedPayload.searchByEmbedding() section to the README
covering params, return shape, the no-reranking behavior, and the
findByIds -> searchByEmbedding "more like this" flow. Also drop a
redundant inline comment in vectorSearch.ts now that the behavior
is documented.
@techiejd techiejd merged commit 0c79c56 into main Jun 22, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant